#ifndef UPLOADFILESERVER_H_
#define UPLOADFILESERVER_H_

#include "Basc_DCFileUpload.pb.h"
class adr_component;

namespace DcAdr
{
    class SoaUploadFileServer
    {
    public:
        static SoaUploadFileServer &getInstance();
        void Ntf_UploadFile(const std::string &topic, const std::string &requestData, std::string &replyData);

        void setPublishHandle(adr_component *component);
    private:
        SoaUploadFileServer();
        ~SoaUploadFileServer();

        adr_component *m_component{nullptr};
    };
}

#endif //UPLOADFILESERVER_H_